<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/3/6
  Time: 15:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
<form action="login" method="post">
    <table align="center">
        <tr>
            <td colspan="2" align="center"><h2>欢迎登录</h2></td>
        </tr>
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="username"/></td>
        </tr>
        <tr>
            <td>密 码：</td>
            <td><input type="password" name="password"/></td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2" align="right">
                <font color="red">${requestScope.msg}</font>
            </td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2" align="right">
                <a href="#">忘记密码</a>&nbsp;<a href="registerForm">用户注册</a>
            </td>
        </tr>
        <tr>
            <td></td>
            <td align="right"><input type="submit" value="登录"/></td>
        </tr>

    </table>
</form>
</body>
</html>
